package org.chenjian.portal80.model;

import java.io.Serializable;
import java.sql.Timestamp;

public class TheCar implements Serializable {
    private Integer cid;
    private String cname;
    private Integer cprice;
    private int ccolor;
    private String cdesc;
    private Timestamp cimporttime;
    private String ctype;
    private int cpos;
    private String cvin;
    private String cstatus;
    private Integer cmile;

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getCprice() {
        return cprice;
    }

    public void setCprice(Integer cprice) {
        this.cprice = cprice;
    }

    public int getCcolor() {
        return ccolor;
    }

    public void setCcolor(int ccolor) {
        this.ccolor = ccolor;
    }

    public String getCdesc() {
        return cdesc;
    }

    public void setCdesc(String cdesc) {
        this.cdesc = cdesc;
    }

    public Timestamp getCimporttime() {
        return cimporttime;
    }

    public void setCimporttime(Timestamp cimporttime) {
        this.cimporttime = cimporttime;
    }

    public String getCtype() {
        return ctype;
    }

    public void setCtype(String ctype) {
        this.ctype = ctype;
    }

    public int getCpos() {
        return cpos;
    }

    public void setCpos(int cpos) {
        this.cpos = cpos;
    }

    public String getCvin() {
        return cvin;
    }

    public void setCvin(String cvin) {
        this.cvin = cvin;
    }

    public String getCstatus() {
        return cstatus;
    }

    public void setCstatus(String cstatus) {
        this.cstatus = cstatus;
    }

    public Integer getCmile() {
        return cmile;
    }

    public void setCmile(Integer cmile) {
        this.cmile = cmile;
    }

    @Override
    public String toString() {
        return "TheCar{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cprice=" + cprice +
                ", ccolor=" + ccolor +
                ", cdesc='" + cdesc + '\'' +
                ", cimporttime=" + cimporttime +
                ", ctype='" + ctype + '\'' +
                ", cpos=" + cpos +
                ", cvin='" + cvin + '\'' +
                ", cstatus='" + cstatus + '\'' +
                ", cmile=" + cmile +
                '}';
    }

    public TheCar() {

    }

    public TheCar(String cname, Integer cprice, int ccolor, String cdesc, Timestamp cimporttime, String ctype, int cpos, String cvin, String cstatus, Integer cmile) {
        this.cname = cname;
        this.cprice = cprice;
        this.ccolor = ccolor;
        this.cdesc = cdesc;
        this.cimporttime = cimporttime;
        this.ctype = ctype;
        this.cpos = cpos;
        this.cvin = cvin;
        this.cstatus = cstatus;
        this.cmile = cmile;
    }
}
